<template>
  <CloudPopconfirm
    title="Are you sure delete this task? Are you sure delete this task? Are you sure delete this task? Are you sure delete this task? Are you sure delete this task? "
    @confirm="confirm"
    @cancel="cancel"
    ok-text="确认"
    cancel-text="取消"
  >
    <CloudButton>删除</CloudButton>
  </CloudPopconfirm>
</template>
<script>
export default {
  title: '1.基本使用',
  methods: {
    confirm(e) {
      console.log(e);
      this.$message.success('Click on Yes');
    },
    cancel(e) {
      console.log(e);
      this.$message.error('Click on No');
    },
  },
};
</script>